package com.hursing.tractor.view;

import com.hursing.tractor.R;

import android.content.Context;

public final class UIHelper {
	
	private static String[] sizeText;	
	public static String numberToText(int size) {
		return sizeText[size];
	}

	private static String[] positionText;
	public static String positionToText(int position) {
		return positionText[position+1];
	}
	
	public static void init(Context context) {
		positionText = context.getResources().getStringArray(R.array.position);
		sizeText = context.getResources().getStringArray(R.array.size);
	}
}
